package fgd;


public class SpisokTest {

	public static void main(String[] args)
	{
		
		Spisok s= new Spisok();
		Spisok sp= new Spisok();
		int []mas = new int[10];
		for( int i=0; i<mas.length;i++)
		{
			mas[i] = (int)Math.round(Math.random()*(-10));
			s.add(new Element(mas[i]));
			s.add_end(new Element(mas[i]));
			s.bubble_sort(new Element(mas[i]));
			
		}
		System.out.print(s);
		s.add_begin(new Element(2));
		System.out.print(s);
		s.add_after(new Element(3), 3);
		System.out.print(s);
		/*s.add(new Element(10));
		s.add(new Element(11));
		s.add(new Element(2));
		s.add(new Element(13));
		s.add(new Element(14));*/
		
	}
}
